package com.employee.service;

import com.employee.pojo.dto.PositionDto;
import com.employee.pojo.dto.UpdatePosDto;
import com.employee.pojo.entry.PosHistory;
import com.employee.pojo.entry.Position;
import com.employee.pojo.vo.PosStaffVo;

import java.util.List;

public interface PosService {
    List<PosHistory> getPosList(Long id);
    List<Position> getPositionList();
    Position getPosById(Long id);
    List<PosStaffVo> getStaffList(Long id);

    void addPosition(PositionDto positionDto);

    void updatePosition(UpdatePosDto positionDto);

    List<Position> getPosListByQuery(String posName, String status);

    void updateStatus(Long posId, String status);
}
